home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / dev / basic / PureBasic_Upd.lha / PureBasic_Update1.60 / PureBasic / PureInclude / devices / prtgfx.pb < prev   
Encoding:
Text File  |  2000-09-10  |  2.6 KB  |  82 lines

  1. ;
  2. ; ** $VER: prtgfx.h 1.12 (26.7.90)
  3. ; ** Includes Release 40.15
  4. ; **
  5. ; ** printer.device structure definitions
  6. ; **
  7. ; ** (C) Copyright 1987-1993 Commodore-Amiga, Inc.
  8. ; **     All Rights Reserved
  9. ;
  10.  
  11. ; 27/03/1999
  12. ;   Fixed a bit the union stuff (but not completely)
  13. ;   Changed Dest1Int -> DestOneInt
  14. ;           Dest2Int -> DestTwoInt
  15. ;
  16.  
  17. IncludePath   "PureInclude:"
  18. XIncludeFile "graphics/rastport.pb"
  19.  
  20. #PCMYELLOW = 0  ;  byte index for yellow
  21. #PCMMAGENTA = 1  ;  byte index for magenta
  22. #PCMCYAN  = 2  ;  byte index for cyan
  23. #PCMBLACK = 3  ;  byte index for black
  24. #PCMBLUE  = #PCMYELLOW ;  byte index for blue
  25. #PCMGREEN = #PCMMAGENTA ;  byte index for green
  26. #PCMRED  = #PCMCYAN  ;  byte index for red
  27. #PCMWHITE = #PCMBLACK ;  byte index for white
  28.  
  29. Structure colorEntry
  30.   StructureUnion
  31.     colorLong.l      ;  quick access to all of YMCB
  32.     colorByte.b[4]   ;  1 entry for each of YMCB
  33.     colorSByte.b[4]  ;  ditto (except signed)
  34.   EndStructureUnion
  35. EndStructure
  36.  
  37.  
  38. Structure PrtInfo  ;  printer info
  39.  *pi_render.l  ;  PRIVATE - DO NOT USE!
  40.  *pi_rp.RastPort  ;  PRIVATE - DO NOT USE!
  41.  *pi_temprp.RastPort ;  PRIVATE - DO NOT USE!
  42.  *pi_RowBuf.w  ;  PRIVATE - DO NOT USE!
  43.  *pi_HamBuf.w  ;  PRIVATE - DO NOT USE!
  44.  *pi_ColorMap.colorEntry ;  PRIVATE - DO NOT USE!
  45.  *pi_ColorInt.colorEntry ;  color intensities for entire row
  46.  *pi_HamInt.colorEntry ;  PRIVATE - DO NOT USE!
  47.  *pi_DestOneInt.colorEntry ;  PRIVATE - DO NOT USE!
  48.  *pi_DestTwoInt.colorEntry ;  PRIVATE - DO NOT USE!
  49.  *pi_ScaleX.w  ;  array of scale values for X
  50.  *pi_ScaleXAlt.w  ;  PRIVATE - DO NOT USE!
  51.  *pi_dmatrix.b  ;  pointer to dither matrix
  52.  *pi_TopBuf.w  ;  PRIVATE - DO NOT USE!
  53.  *pi_BotBuf.w  ;  PRIVATE - DO NOT USE!
  54.  
  55.  pi_RowBufSize.w  ;  PRIVATE - DO NOT USE!
  56.  pi_HamBufSize.w  ;  PRIVATE - DO NOT USE!
  57.  pi_ColorMapSize.w  ;  PRIVATE - DO NOT USE!
  58.  pi_ColorIntSize.w  ;  PRIVATE - DO NOT USE!
  59.  pi_HamIntSize.w  ;  PRIVATE - DO NOT USE!
  60.  pi_Dest1IntSize.w  ;  PRIVATE - DO NOT USE!
  61.  pi_Dest2IntSize.w  ;  PRIVATE - DO NOT USE!
  62.  pi_ScaleXSize.w  ;  PRIVATE - DO NOT USE!
  63.  pi_ScaleXAltSize.w  ;  PRIVATE - DO NOT USE!
  64.  
  65.  pi_PrefsFlags.w  ;  PRIVATE - DO NOT USE!
  66.  pi_special.l  ;  PRIVATE - DO NOT USE!
  67.  pi_xstart.w  ;  PRIVATE - DO NOT USE!
  68.  pi_ystart.w  ;  PRIVATE - DO NOT USE!
  69.  pi_width.w   ;  source width (in pixels)
  70.  pi_height.w  ;  PRIVATE - DO NOT USE!
  71.  pi_pc.l   ;  PRIVATE - DO NOT USE!
  72.  pi_pr.l   ;  PRIVATE - DO NOT USE!
  73.  pi_ymult.w   ;  PRIVATE - DO NOT USE!
  74.  pi_ymod.w   ;  PRIVATE - DO NOT USE!
  75.  pi_ety.w   ;  PRIVATE - DO NOT USE!
  76.  pi_xpos.w   ;  offset to start printing picture
  77.  pi_threshold.w  ;  threshold value (from prefs)
  78.  pi_tempwidth.w  ;  PRIVATE - DO NOT USE!
  79.  pi_flags.w   ;  PRIVATE - DO NOT USE!
  80. EndStructure
  81.  
  82.